<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <link href="css/bootstrap.min.css" rel="stylesheet">
	    <link rel="stylesheet" href="css/course.css" />
	    <link rel="icon" href="img/course/favicon.ico" />
	    <script src="js/jquery-3.3.1.js"></script>
		<script src="js/bootstrap.js"></script>
		<title>站酷高高手 - 艺术设计在线教育平台 - 站酷旗下品牌</title>
	</head>
	<body>
		<header>
			<ul class="header_left">
				<li>
					<a href="#">学习频道</a>
					<ul class="dropDown_menu">
						<li>
							<a href="">摄影</a>
							<i></i>
						</li>
						<li>
							<a href="">设计</a>
							<i></i>
						</li>
						<li>
							<a href="">绘画</a>
							<i></i>
						</li>
						<li>
							<a href="">UI</a>
							<i></i>
						</li>
						<li>
							<a href="">影视</a>
							<i></i>
						</li>
						<li>
							<a href="">三维</a>
							<i></i>
						</li>
						<li>
							<a href="">室内</a>
							<i></i>
						</li>
					</ul>
				</li>
				<li>
					<a href="#">高手招募</a>
				</li>
				<li>
					<a href="appDownload.html">APP下载</a>
				</li>
			</ul>
			<ul class="header_right">
				<li>
					<a href="#">登录</a>
				</li>
				<li>|</li>
				<li>
					<a href="#">注册</a>
				</li>
			</ul>
		</header>
		
		<div class="global_logo">
			<a href="course.html">
				<i></i>
			</a>
		</div>
		
		<div class="global_search">
			<input type="text"  placeholder="请输入课程名称/老师"/>
			<button></button>
		</div>
		<div class="global-limited-free">
			<a href="#"><i></i></a>
		</div>
		<div class="nav_div">
			<div class="fixed_logo">
				<a href="#">
					<i></i>
				</a>
			</div>
			<ul class="nav_ul">
				<li>
					<a href="#">
						首页
						<i></i>
					</a>
				</li>
				<li>
					<a href="#">
						摄影
						<i></i>
					</a>
					<ul class="dropDown_nav">
						<li><i></i><a href="#">摄影基础</a><i></i></li>
						<li><i></i><a href="#">人像摄影</a><i></i></li>
						<li><i></i><a href="#">风光摄影</a><i></i></li>
						<li><i></i><a href="#">商业摄影</a><i></i></li>
						<li><i></i><a href="#">后期技术</a><i></i></li>
						<li><i></i><a href="#">摄影讲座分享</a><i></i></li>
						<li><i></i><a href="#">手机摄影</a><i></i></li>
					</ul>
				</li>
				<li>
					<a href="#">
						设计
						<i></i>
					</a>
					<ul class="dropDown_nav">
						<li><i></i><a href="#">设计基础</a><i></i></li>
						<li><i></i><a href="#">版式设计</a><i></i></li>
						<li><i></i><a href="#">字体设计</a><i></i></li>
						<li><i></i><a href="#">电商设计</a><i></i></li>
						<li><i></i><a href="#">品牌设计</a><i></i></li>
						<li><i></i><a href="#">书籍设计</a><i></i></li>
						<li><i></i><a href="#">网页设计</a><i></i></li>
						<li><i></i><a href="#">工业设计</a><i></i></li>
						<li><i></i><a href="#">设计讲座分享</a><i></i></li>
						<li><i></i><a href="#">包装设计</a><i></i></li>
						<li><i></i><a href="#">图案</a><i></i></li>
					</ul>
				</li>
				<li>
					<a href="#">
						绘画
						<i></i>
					</a>
					<ul class="dropDown_nav">
						<li><i></i><a href="#">绘画基础</a><i></i></li>
						<li><i></i><a href="#">手绘</a><i></i></li>
						<li><i></i><a href="#">矢量插画</a><i></i></li>
						<li><i></i><a href="#">商业插画</a><i></i></li>
						<li><i></i><a href="#">CG插画</a><i></i></li>
						<li><i></i><a href="#">绘画思维</a><i></i></li>
						<li><i></i><a href="#">创意绘画</a><i></i></li>
					</ul>
				</li>
				<li>
					<a href="#">
						UI
						<i></i>
					</a>
					<ul class="dropDown_nav">
						<li><i></i><a href="#">UI系统课程</a><i></i></li>
						<li><i></i><a href="#">UI交互动效</a><i></i></li>
						<li><i></i><a href="#">UI视觉设计</a><i></i></li>
						<li><i></i><a href="#">UI设计思维</a><i></i></li>
					</ul>
				</li>
				<li>
					<a href="#">
						影视
						<i></i>
					</a>
					<ul class="dropDown_nav">
						<li><i></i><a href="#">拍摄剪辑</a><i></i></li>
						<li><i></i><a href="#">影视调色</a><i></i></li>
						<li><i></i><a href="#">MG动画</a><i></i></li>
						<li><i></i><a href="#">影视特效</a><i></i></li>
					</ul>
				</li>
				<li>
					<a href="#">
						三维
						<i></i>
					</a>
					<ul class="dropDown_nav">
						<li><i></i><a href="#">三维软件基础</a><i></i></li>
						<li><i></i><a href="#">建模</a><i></i></li>
						<li><i></i><a href="#">渲染</a><i></i></li>
						<li><i></i><a href="#">三维字体</a><i></i></li>
					</ul>
				</li>
				<li>
					<a href="#">
						室内
						<i></i>
					</a>
					<ul class="dropDown_nav">
						<li><i></i><a href="#">效果图设计</a><i></i></li>
						<li><i></i><a href="#">设计思维</a><i></i></li>
						<li><i></i><a href="#">软件基础</a><i></i></li>
					</ul>
				</li>
			</ul>
			<div class="fixed_login">
				<ul class="fixed_login_ul">
					<li>
						<a href="#">登录</a>
					</li>
					<li>|</li>
					<li>
						<a href="#">注册</a>
					</li>
				</ul>
			</div>
		</div>
		
		
		<!--轮播图-->
		<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
			<!-- 下方的点 -->
			<ol class="carousel-indicators">
				<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
			    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
			    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
			    <li data-target="#carousel-example-generic" data-slide-to="3"></li>
			</ol>

  			<!-- 图片 -->
			<div class="carousel-inner" role="listbox">
			    <div class="item active">
			    	<img src="img/course/banner01.jpg" alt="...">
			    	<div class="carousel-caption">
			      	</div>
			    </div>
			    <div class="item">
			    	<img src="img/course/banner02.jpg" alt="...">
			    	<div class="carousel-caption">
			      	</div>
			    </div>
			    
			    <div class="item">
			    	<img src="img/course/banner03.jpg" alt="...">
			    	<div class="carousel-caption">
			      	</div>
			    </div>
			    
			    <div class="item">
			    	<img src="img/course/banner04.jpg" alt="...">
			    	<div class="carousel-caption">
			      	</div>
			    </div>
			</div>

  			<!-- 左右按钮 -->
			<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
				<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
			    <span class="sr-only">Previous</span>
			</a>
  			<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
    			<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    			<span class="sr-only">Next</span>
  			</a>
		</div>
		
		<aside>
			<a href="#">
				<span>去购物车</span>
			</a>
			<a href="#">
				<span>在线客服</span>
			</a>
			<a href="#">
				<span>意见反馈</span>
			</a>
			<a href="#">
				<div class="right_fixed_info">
					<div class="info_title">扫描二维码</div>
					<div class="info_title2">关注公众号</div>
					<div class="info_pic"></div>
				</div>
			</a>
			<a href="#">
				<div class="right_fixed_info">
					<div class="info_title">扫描二维码</div>
					<div class="info_title2">下载高高手APP</div>
					<div class="info_pic"></div>
				</div>
			</a>
			<a href="#">
				<span>返回顶部</span>
			</a>
		</aside>
		<section>
			<!--最新课程-->
			<div class="new_course">
				<div class="course_type">
					<span>最新课程</span>
					<a href="#">查看更多</a>
				</div>
				<ul class="course_list clearfix">
					<li>
						<div class="pic_box">
							<a href="video.html">
								<img src="img/course/course01.jpg" alt="" />
							</a>
						</div>
						<div class="text_box">
							<div class="item_title">
								<a href="video.html">品牌思维训练营</a>
							</div>
							<div class="item_tags">
								<span>平面设计</span>
								<span>初级拔高</span>
							</div>
							<div class="subinfo">
								<span>4小时 04分钟</span>
								<span>&yen;685.00</span>
							</div>
							<div class="item_teacher">
								<a href="#">
									<img src="img/course/teacher01.jpg" alt="" />
									<span>冯炳焜</span>
								</a>
							</div>
							<div class="item_student">
								<i></i>
								<span>222</span>
							</div>
						</div>
					</li>
				</ul>
			</div>
			<div class="series_course">
				<div class="course_type">
					<span>系列课程</span>
					<a href="#">查看更多</a>
				</div>
				<ul class="series_list clearfix">
					<li>
						<div class="item_zhibo">
							<div class="item_zhibo_header">
								<i></i>
								<span>直播公开课</span>
							</div>
							<ul class="item_zhibo_body">
								<li>
									<i></i>
									<div class="item_zhibo_title">
										<a href="#">UI设计能力模型——明确市场真正需求</a>
									</div>
									<div class="zhibo_subinfo">
										<span>08月07日</span>
										<span>20:30直播</span>
									</div>
								</li>
								<li>
									<i></i>
									<div class="item_zhibo_title">
										<a href="#">直播：开营典礼-快速提升品牌设计的方法</a>
									</div>
									<div class="zhibo_subinfo">
										<span>08月14日</span>
										<span>20:30直播</span>
									</div>
								</li>
								<li>
									<i></i>
									<div class="item_zhibo_title">
										<a href="#">缩短瓶颈期 UI职级晋升加速器</a>
									</div>
									<div class="zhibo_subinfo">
										<span>精彩回放</span>
										<span></span>
									</div>
								</li>
							</ul>
						</div>
					</li>
					<li>
						<div class="zhibo_course">
							<a href="#">
								<div class="zhibo_pic">
									<img src="img/course/zhibo01.jpg" alt="" />
								</div>
								<div class="mask_box"></div>
								<div class="zhibo_text">
									<p>UI设计进阶班</p>
									<span>最新课程正在筹备中</span>
								</div>
								
							</a>
						</div>
					</li>
					
					
				</ul>
			</div>
			
			
			<!--低价好课-->
			<div class="price_course">
				<div class="course_type">
					<span>低价好课</span>
					<a href="#">查看更多</a>
				</div>
				<ul class="course_list clearfix">
					<li>
						<div class="pic_box">
							<a href="#">
								<img src="img/course/price_course01.jpg" alt="" />
							</a>
						</div>
						<div class="text_box">
							<div class="item_title">
								<a href="#">绘画构图训练法</a>
							</div>
							<div class="item_tags">
								<span>绘画插画</span>
								<span>基础入门</span>
							</div>
							<div class="subinfo">
								<span>2小时 29分钟</span>
								<span>&yen;49.00</span>
							</div>
							<div class="item_teacher">
								<a href="#">
									<img src="img/course/price_teacher01.jpg" alt="" />
									<span>陈惟</span>
								</a>
							</div>
							<div class="item_student">
								<i></i>
								<span>199</span>
							</div>
						</div>
					</li>
				</ul>
				
			</div>
			
			<!--精选好课-->
			<div class="perfect_course">
				<div class="course_type">
					<span>精选好课</span>
					<div class="tab_bar">
						<span>编辑推荐</span>
						<span>热门课程</span>
					</div>
					<a href="#">查看更多</a>
				</div>
				
				<ul class="course_list clearfix">
					<li>
						<div class="pic_box">
							<a href="#">
								<img src="img/course/perfect_course01.jpg" alt="" />
							</a>
						</div>
						<div class="text_box">
							<div class="item_title">
								<a href="#">5大绘画核心基础·合集课程</a>
							</div>
							<div class="item_tags">
								<span>绘画插画</span>
								<span>基础入门</span>
							</div>
							<div class="subinfo">
								<span>14小时 04分钟</span>
								<span>&yen;199.00</span>
							</div>
							<div class="item_teacher">
								<a href="#">
									<img src="img/course/perfect_teacher01.jpg" alt="" />
									<span>陈惟</span>
								</a>
							</div>
							<div class="item_student">
								<i></i>
								<span>100</span>
							</div>
						</div>
					</li>
				</ul>
			</div>
			
			<!--类别-->
			<!--摄影艺术-->
			<div class="category_course">
				<ul class="course_list clearfix">
					<li>
						<a href="#">
							<img src="img/course/1-1.png" alt="" />
						</a>
					</li>
					<li>
						<div class="pic_box">
							<a href="#">
								<img src="img/course/1-2.jpg" alt="" />
							</a>
						</div>
						<div class="text_box">
							<div class="item_title">
								<a href="#">产品摄影课程·大合集</a>
							</div>
							<div class="item_tags">
								<span>摄影艺术</span>
								<span>中级进阶</span>
							</div>
							<div class="subinfo">
								<span>7小时 43分钟</span>
								<span>&yen;399.00</span>
							</div>
							<div class="item_teacher">
								<a href="#">
									<img src="img/course/1-2_teacher.jpg" alt="" />
									<span>路鹏</span>
								</a>
							</div>
							<div class="item_student">
								<i></i>
								<span>161</span>
							</div>
						</div>
					</li>
				</ul>
			</div>
			<div class="bottom_img">
				<a href="#">
					<img src="img/course/bottom.jpg" alt="" />
				</a>
			</div>
		</section>
		
		
		
		
		
		
		
		<footer>
			<div class="footer_center">
				<div class="center_top clearfix">
					<ul class="footer_nav clearfix">
						<li><a href="#">关于我们</a></li>
						<li><a href="#">帮助中心</a></li>
						<li><a href="#">用户协议</a></li>
						<li><a href="#">隐私政策</a></li>
						<li><a href="#">联系我们</a></li>
						<li><a href="#">意见反馈</a></li>
						<li><a href="#">招贤纳士</a></li>
					</ul>
					<ul class="guanzhu clearfix">
						<li><a href="#"><i></i><span></span></a></li>
						<li class="footer_line"></li>
						<li><a href="#"><i></i><span></span></a></li>
						<li class="footer_line"></li>
						<li><a href="#"><i></i></a></li>
					</ul>
					<ul class="footer_contact clearfix">
						<li>联系我们</li>
						<li>
							<span>010-52023772</span>
							<span>（9:30 - 18:00）</span>
						</li>
						<li>
							<a href="#">在线QQ客服</a>
							<span>（9:30 - 18:00）</span>
						</li>
					</ul>
				</div>
				<div class="center_bottom clearfix">
					<div class="footer_bottom_left">
						<div class="footer_one">
							<a href="#">京ICP备15003345号-1</a>
							<span>|</span>
							<a href="#">
								<img src="img/course_detail/record-icon.png" alt="" />
								<span>京公网安备 11010502034774号</span>
							</a>
							<span>|</span>
							<a href="#">京ICP证 京B2-20181721-1</a>
							<span>|</span>
							<a href="#">广播电视节目制作经营许可证（京）字第08375号-1</a>
							<span>|</span>
							<a href="#">营业执照</a>
						</div>
						<div class="footer_two">
							<span>Copyright © 2015-2019 站酷高高手（ZCOOL GOGOUP）版权所有</span>
							<span>|</span>
							<span>品牌、课程和网页设计版权由 北京站酷教育科技有限公司 持有，未经本公司允许，请勿建立镜像和其他违法用途</span>
						</div>
					</div>
					<div class="footer_bottom_right">
						<a href=""><img src="img/course_detail/zcool-logo.png" alt="" /></a>
					</div>
				</div>
			</div>
		</footer>
		
		
		
		
		
		
		
		
		
	</body>
</html>

<script>
	//下拉菜单移入移出效果
	$(".header_left>li:nth-of-type(1)").hover(function(){
		$(this).children("ul").css({"display":"block","z-index":"5"})
	},function(){
		$(this).children("ul").css({"display":"none","z-index":"2"})
	})
	
	
	//移入导航栏对应下拉列表显示
	$(".nav_ul>li").hover(function(){
		$(this).children("ul").css({"display":"block"});
	},function(){
		$(this).children("ul").css({"display":"none"});
	})
	
	//轮播图自动播放
	$('.carousel').carousel({
	  interval: 2000
	})
	
	//点击跳转
	$(".course_list li").click(function(){
		window.location.href = "video.html";
	})
	
	
	//滚轮事件导航栏固定定位
	$(window).scroll(function(){
		
		if($(window).scrollTop()>100){
			$(".nav_div").css({"position":"fixed","top":"0px","z-index":"12"});
			$(".nav_ul").css({"margin-bottom":"0px","padding-left":"100px","text-align":"left"});
			
			$(".fixed_logo").css({"display":"block"});
			$(".fixed_login").css({"display":"block"});
			
		}
		if($(window).scrollTop()<=100){
			$(".nav_div").css({"position":"relative","z-index":"1"});
			$(".nav_ul").css({"margin-bottom":"10px","padding-left":"0px","text-align":"center"});
			$(".fixed_logo").css({"display":"none"});
			$(".fixed_login").css({"display":"none"});
		}
		
		if($(window).scrollTop()<=500){
			$("aside>a:nth-of-type(6)").css({"display":"none"});
		}
		if($(window).scrollTop()>500){
			$("aside>a:nth-of-type(6)").css({"display":"block"});
		}
		if($(window).scrollTop()<=3800){
//			console.log($("footer").offset().top);
			$("aside").css({"position":"fixed","top":"20%"});
			
		}
		if($(window).scrollTop()>3800){
//			console.log($("footer").offset().top);
			$("aside").css({"position":"absolute","top":"3942px"});
			
		}
		
		
	})
	
	//右边移入动态效果
	$("aside>a").hover(function(){
		$(this).children("span").css({"display":"block","background":"white"});
		if($(this).index()==3){
			$(this).css({"background-color":"#28b28b"});
			$(this).children(".right_fixed_info").css({"display":"block"});
		}
		if($(this).index()==4){
			$(this).css({"background-color":"#28b28b"});
			$(this).children(".right_fixed_info").css({"display":"block"});
		}
		
	},function(){
		$(this).children("span").css({"display":"none"});
		if($(this).index()==3){
			$(this).css({"background-color":"white"});
			$(this).children(".right_fixed_info").css({"display":"none"});
		}
		if($(this).index()==4){
			$(this).css({"background-color":"white"});
			$(this).children(".right_fixed_info").css({"display":"none"});
		}
		
	})
	
	//点击返回顶部
	$("aside>a:nth-of-type(6)").click(function(){
		$("html,body").animate({"scrollTop":"0"},1000);
	})
	
	
	
	//克隆课程信息,js动态加载数据
	var course_data = [
		
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course02.jpg",
			"course_title":"零基础AI商业插画全能班(第5期)",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course03.jpg",
			"course_title":"UI职级晋升加速器",
			"course_tag":["UI设计","基础入门"],
			"course_time":"第3节 8月7日 20:30直播",
			"course_price":"免费",
			"course_teacher_pic":"img/course/teacher03.jpg",
			"course_teacher_name":"EthankDesign",
			"student_count":"1254"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course04.jpg",
			"course_title":"5大绘画核心基础·合集课程",
			"course_tag":["绘画插画","基础入门"],
			"course_time":"14小时 04分钟",
			"course_price":"199.00",
			"course_teacher_pic":"img/course/teacher04.jpg",
			"course_teacher_name":"陈惟",
			"student_count":"100"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course05.jpg",
			"course_title":"Nik Collection滤镜插件集全解",
			"course_tag":["摄影艺术","基础入门"],
			"course_time":"7小时 34分钟",
			"course_price":"199.00",
			"course_teacher_pic":"img/course/teacher05.jpg",
			"course_teacher_name":"Thomas看看世界",
			"student_count":"64"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course06.jpg",
			"course_title":"UI设计进阶班(第5期)预约中",
			"course_tag":["UI设计","中级进阶"],
			"course_time":"2月4日 10:00开课",
			"course_price":"5480.00",
			"course_teacher_pic":"img/course/teacher06.jpg",
			"course_teacher_name":"EthankDesign",
			"student_count":"已结束"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course07.jpg",
			"course_title":"产品摄影课程·大合集",
			"course_tag":["摄影艺术","中级进阶"],
			"course_time":"7小时 43分钟",
			"course_price":"¥399.00",
			"course_teacher_pic":"img/course/teacher07.jpg",
			"course_teacher_name":"路鹏",
			"student_count":"161"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course08.jpg",
			"course_title":"产品精修与视觉合成全能班",
			"course_tag":["平面设计","初级拔高"],
			"course_time":"第4节 8月6日 20:00直播",
			"course_price":"2699.00",
			"course_teacher_pic":"img/course/teacher08.jpg",
			"course_teacher_name":"周大杰",
			"student_count":"158"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course09.jpg",
			"course_title":"K先生·平面构成与版式设计",
			"course_tag":["平面设计","初级拔高"],
			"course_time":"13小时 43分钟",
			"course_price":"599.00",
			"course_teacher_pic":"img/course/teacher09.jpg",
			"course_teacher_name":"研习设K先生",
			"student_count":"2661"
		},
		{
			"course_type":"最新课程",
			"course_pic":"img/course/course10.jpg",
			"course_title":"UI设计全能班(第9期)",
			"course_tag":["UI设计","初级拔高"],
			"course_time":"第8节 8月6日 20:30直播",
			"course_price":"7780.00",
			"course_teacher_pic":"img/course/teacher10.jpg",
			"course_teacher_name":"像素范儿",
			"student_count":"156"
		},
		{
			"course_type":"低价好课",
			"course_pic":"img/course/price_course02.jpg",
			"course_title":"噪点风格插画绘制",
			"course_tag":["绘画插画","基础入门"],
			"course_time":"2小时 29分钟",
			"course_price":"49.00",
			"course_teacher_pic":"img/course/price_teacher02.jpg",
			"course_teacher_name":"嘎罗",
			"student_count":"2824"
		},
		{
			"course_type":"低价好课",
			"course_pic":"img/course/price_course03.jpg",
			"course_title":"图案在商业插画中的应用",
			"course_tag":["绘画插画","基础入门"],
			"course_time":"2小时 29分钟",
			"course_price":"78.00",
			"course_teacher_pic":"img/course/price_teacher03.jpg",
			"course_teacher_name":"布果",
			"student_count":"403"
		},
		{
			"course_type":"低价好课",
			"course_pic":"img/course/price_course04.jpg",
			"course_title":"生活美学摄影：基础静物篇",
			"course_tag":["摄影艺术","初级拔高"],
			"course_time":"1小时 46分钟",
			"course_price":"78.00",
			"course_teacher_pic":"img/course/price_teacher04.jpg",
			"course_teacher_name":"和威",
			"student_count":"1065"
		},
		{
			"course_type":"低价好课",
			"course_pic":"img/course/price_course05.jpg",
			"course_title":"商业UI设计：产品化设计思维",
			"course_tag":["UI设计","初级拔高"],
			"course_time":"2小时 09分钟",
			"course_price":"78.00",
			"course_teacher_pic":"img/course/price_teacher05.jpg",
			"course_teacher_name":"邵飞",
			"student_count":"518"
		},
		{
			"course_type":"精选好课",
			"course_pic":"img/course/perfect_course02.jpg",
			"course_title":"奶哥《AI商业插画》合集",
			"course_tag":["绘画插画","基础入门"],
			"course_time":"26小时 ",
			"course_price":"399.00",
			"course_teacher_pic":"img/course/perfect_teacher02.jpg",
			"course_teacher_name":"奶哥",
			"student_count":"150"
		},
		{
			"course_type":"精选好课",
			"course_pic":"img/course/perfect_course03.jpg",
			"course_title":"品牌设计策略·创意表现方法",
			"course_tag":["平面设计","中级进阶"],
			"course_time":"3小时 04分钟",
			"course_price":"128.00",
			"course_teacher_pic":"img/course/perfect_teacher03.jpg",
			"course_teacher_name":"刘津",
			"student_count":"990"
		},
		{
			"course_type":"精选好课",
			"course_pic":"img/course/perfect_course04.jpg",
			"course_title":"美国VSO·零基础摄影大师课",
			"course_tag":["摄影艺术","基础入门"],
			"course_time":"21小时 59分钟",
			"course_price":"128.00",
			"course_teacher_pic":"img/course/perfect_teacher04.jpg",
			"course_teacher_name":"VSO影视学院",
			"student_count":"1057"
		},
		{
			"course_type":"精选好课",
			"course_pic":"img/course/perfect_course05.jpg",
			"course_title":"美国VSO·零基础入门Premiere",
			"course_tag":["影视动画","基础入门"],
			"course_time":"8小时 51分钟",
			"course_price":"128.00",
			"course_teacher_pic":"img/course/perfect_teacher05.jpg",
			"course_teacher_name":"VSO影视学院",
			"student_count":"541"
		},
		
		
		
		{
			"course_type":"摄影艺术",
			"course_pic":"img/course/1-3.jpg",
			"course_title":"从零开始学摄影·时光机",
			"course_tag":["摄影艺术","基础入门"],
			"course_time":"15小时 52分钟",
			"course_price":"399.00",
			"course_teacher_pic":"img/course/1-3_teacher.jpg",
			"course_teacher_name":"时光机",
			"student_count":"已结束"
		},
		{
			"course_type":"摄影艺术",
			"course_pic":"img/course/1-4.jpg",
			"course_title":"教你拍好女朋友——基础人像外拍实战",
			"course_tag":["摄影艺术","基础入门"],
			"course_time":"2小时 33分钟",
			"course_price":"128.00",
			"course_teacher_pic":"img/course/1-4_teacher.jpg",
			"course_teacher_name":"七七小菇凉",
			"student_count":"1707"
		},
		{
			"course_type":"摄影艺术",
			"course_pic":"img/course/1-5.jpg",
			"course_title":"快速人像摄影布光指南",
			"course_tag":["摄影艺术","初级拔高"],
			"course_time":"1小时 30分钟",
			"course_price":"78.00",
			"course_teacher_pic":"img/course/1-5_teacher.jpg",
			"course_teacher_name":"老飘飘",
			"student_count":"772"
		},
		{
			"course_type":"平面设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"零基础AI商业插画全能班(第5期)1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"平面设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"零基础AI商业插画全能班(第5期)2",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"平面设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"零基础AI商业插画全能班(第5期)3",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"绘画插画",
			"course_pic":"img/course/course02.jpg",
			"course_title":"绘画插画1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"绘画插画",
			"course_pic":"img/course/course02.jpg",
			"course_title":"绘画插画1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"绘画插画",
			"course_pic":"img/course/course02.jpg",
			"course_title":"绘画插画1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"UI设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"UI设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"UI设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"UI设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"UI设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"UI设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"三维设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"三维设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"三维设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"三维设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"三维设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"三维设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"影视动画",
			"course_pic":"img/course/course02.jpg",
			"course_title":"影视动画1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"影视动画",
			"course_pic":"img/course/course02.jpg",
			"course_title":"影视动画1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"影视动画",
			"course_pic":"img/course/course02.jpg",
			"course_title":"影视动画1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"室内设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"室内设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"室内设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"室内设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		},
		{
			"course_type":"室内设计",
			"course_pic":"img/course/course02.jpg",
			"course_title":"室内设计1",
			"course_tag":["绘画插画","初级拔高"],
			"course_time":"8月28日 20:00开课",
			"course_price":"2350.00",
			"course_teacher_pic":"img/course/teacher02.jpg",
			"course_teacher_name":"包子",
			"student_count":"85"
		}
		
	];
	
	var zhibo_course = [
		{
			"zhibo_pic":"img/course/zhibo02.jpg",
			"zhibo_title":"品牌思维训练营",
			"zhibo_progress":"最新课程正在热售中"
		},
		{
			"zhibo_pic":"img/course/zhibo03.jpg",
			"zhibo_title":"产品精修与视觉合成全能班",
			"zhibo_progress":"最新课程正在热售中"
		},
		{
			"zhibo_pic":"img/course/zhibo04.jpg",
			"zhibo_title":"零基础AI商业插画全能班",
			"zhibo_progress":"最新课程正在热售中"
		}
	];
	
	var category_data =[
		{
			"category_name":"平面设计",
			"category_pic":"img/course/2-1.png"
		},
		{
			"category_name":"绘画插画",
			"category_pic":"img/course/3-1.png"
		},
		{
			"category_name":"UI设计",
			"category_pic":"img/course/4-1.png"
		},
		{
			"category_name":"三维设计",
			"category_pic":"img/course/5-1.png"
		},
		{
			"category_name":"影视动画",
			"category_pic":"img/course/6-1.png"
		},
		{
			"category_name":"室内设计",
			"category_pic":"img/course/7-1.png"
		}
	];
	var $category;
	cloneCategory();
	var $newTag;
	cloneTag();
	var $zhiboTag;
	colonZhiboTag();
	
	
	//课程内容克隆加载
	function cloneTag(){
		for(var i=0;i<course_data.length;i++){
			if(course_data[i].course_type == "最新课程"){
				//克隆
				$newTag = $(".new_course .course_list li:nth-of-type(1)").clone(true);
			}
			if(course_data[i].course_type == "低价好课"){
				//克隆
				$newTag = $(".price_course .course_list li:nth-of-type(1)").clone(true);
			}
			if(course_data[i].course_type == "精选好课"){
				//克隆
				$newTag = $(".perfect_course .course_list li:nth-of-type(1)").clone(true);
			}
			if(course_data[i].course_type == "摄影艺术"){
				//克隆
				$newTag = $(".category_course .course_list:nth-of-type(1) li:nth-of-type(2)").clone(true);
			}
			if(course_data[i].course_type == "平面设计"){
				//克隆
				$newTag = $(".category_course .course_list:nth-of-type(2) li:nth-of-type(2)").clone(true);
			}
			if(course_data[i].course_type == "绘画插画"){
				//克隆
				$newTag = $(".category_course .course_list:nth-of-type(3) li:nth-of-type(2)").clone(true);
			}
			if(course_data[i].course_type == "UI设计"){
				//克隆
				$newTag = $(".category_course .course_list:nth-of-type(4) li:nth-of-type(2)").clone(true);
			}
			if(course_data[i].course_type == "三维设计"){
				//克隆
				$newTag = $(".category_course .course_list:nth-of-type(5) li:nth-of-type(2)").clone(true);
			}
			if(course_data[i].course_type == "影视动画"){
				//克隆
				$newTag = $(".category_course .course_list:nth-of-type(6) li:nth-of-type(2)").clone(true);
			}
			if(course_data[i].course_type == "室内设计"){
				//克隆
				$newTag = $(".category_course .course_list:nth-of-type(7) li:nth-of-type(2)").clone(true);
			}
			
			//修改内容
			$newTag.children(".pic_box").children("a").children("img").attr({"src":course_data[i].course_pic});
			$newTag.children(".text_box").children(".item_title").children("a").html(course_data[i].course_title);
			$newTag.children(".text_box").children(".item_tags").children("span").remove();
			for(var j=0;j<course_data[i].course_tag.length;j++){
				var $spanTag = $("<span></span>");
				$spanTag.html(course_data[i].course_tag[j]);
				$newTag.children(".text_box").children(".item_tags").append($spanTag);
			}
			$newTag.children(".text_box").children(".subinfo").children("span:nth-of-type(1)").html(course_data[i].course_time);
			$newTag.children(".text_box").children(".subinfo").children("span:nth-of-type(2)").html("￥"+course_data[i].course_price);
			$newTag.children(".text_box").children(".item_teacher").children("a").children("img").attr({"src":course_data[i].course_teacher_pic});
			$newTag.children(".text_box").children(".item_teacher").children("a").children("span").html(course_data[i].course_teacher_name);
			$newTag.children(".text_box").children(".item_student").children("span").html(course_data[i].student_count);
			if(course_data[i].course_type == "最新课程"){
				//插入
				$(".new_course .course_list").append($newTag);
			}
			if(course_data[i].course_type == "低价好课"){
				//插入
				$(".price_course .course_list").append($newTag);
			}
			if(course_data[i].course_type == "精选好课"){
				//插入
				$(".perfect_course .course_list").append($newTag);
			}
			if(course_data[i].course_type == "摄影艺术"){
				//插入
				$(".category_course .course_list:nth-of-type(1)").append($newTag);
			}
			if(course_data[i].course_type == "平面设计"){
				//插入
				$(".category_course .course_list:nth-of-type(2)").append($newTag);
			}
			if(course_data[i].course_type == "绘画插画"){
				//插入
				$(".category_course .course_list:nth-of-type(3)").append($newTag);
			}
			if(course_data[i].course_type == "UI设计"){
				//插入
				$(".category_course .course_list:nth-of-type(4)").append($newTag);
			}
			if(course_data[i].course_type == "三维设计"){
				//插入
				$(".category_course .course_list:nth-of-type(5)").append($newTag);
			}
			if(course_data[i].course_type == "影视动画"){
				//插入
				$(".category_course .course_list:nth-of-type(6)").append($newTag);
			}
			if(course_data[i].course_type == "室内设计"){
				//插入
				$(".category_course .course_list:nth-of-type(7)").append($newTag);
			}
			
			
			
			
			
			
			
			
		}
	}
	
	//直播课程内容克隆加载
	function colonZhiboTag(){
		
		for(var i=0;i<zhibo_course.length;i++){
			$zhiboTag = $(".series_course .series_list>li:nth-of-type(2)").clone(true);
			$zhiboTag.children(".zhibo_course").children("a").children(".zhibo_pic").children("img").attr({"src":zhibo_course[i].zhibo_pic});
			$zhiboTag.children(".zhibo_course").children("a").children(".zhibo_text").children("p").html(zhibo_course[i].zhibo_title);
			$zhiboTag.children(".zhibo_course").children("a").children(".zhibo_text").children("span").html(zhibo_course[i].zhibo_progress);
			$(".series_course .series_list").append($zhiboTag);
		}
	}
	
	//分类课程克隆加载
	function cloneCategory(){
		var $newCategoryTag;
//		console.log($(".category_course .course_list")[0]);
		for(var i=0;i<category_data.length;i++){
			$category =$(".category_course .course_list:nth-of-type(1)").clone(true);
			$category.children("li:nth-of-type(1)").children("a").children("img").attr({"src":category_data[i].category_pic});
			$(".category_course").append($category);
			
			$newCategoryTag = $(".category_course .course_list").eq(i+1).children("li:nth-of-type(2)").clone(true);
//			console.log($(".category_course .course_list").eq(i+1).children("li:nth-of-type(2)")[0]);
			$(".category_course .course_list").eq(i+1).children("li:nth-of-type(1)").siblings().remove();
//			console.log($(".category_course .course_list").eq(i+1)[0]);
			
			//修改内容
			for(var j=0;j<course_data.length;j++){
				
				if(course_data[j].course_type == "平面设计"){
					$newCategoryTag = modifyTag($newCategoryTag,j);
				}
				if(course_data[j].course_type == "绘画插画"){
					$newCategoryTag = modifyTag($newCategoryTag,j);
				}
				if(course_data[j].course_type == "UI设计"){
					$newCategoryTag = modifyTag($newCategoryTag,j);
				}
				if(course_data[j].course_type == "三维设计"){
					$newCategoryTag = modifyTag($newCategoryTag,j);
				}
				if(course_data[j].course_type == "影视动画"){
					$newCategoryTag = modifyTag($newCategoryTag,j);
				}
				if(course_data[j].course_type == "室内设计"){
					$newCategoryTag = modifyTag($newCategoryTag,j);
				}
			}
			
			$(".category_course .course_list").eq(i+1).append($newCategoryTag.eq(0));
			
			
			
			
			
			
		}
	}
	
	function modifyTag($newCategoryTag,num){
		$newCategoryTag.children(".pic_box").children("a").children("img").attr({"src":course_data[num].course_pic});
		$newCategoryTag.children(".text_box").children(".item_title").children("a").html(course_data[num].course_title);
		$newCategoryTag.children(".text_box").children(".item_tags").children("span").remove();
		for(var j=0;j<course_data[num].course_tag.length;j++){
			var $spanTag = $("<span></span>");
			$spanTag.html(course_data[num].course_tag[j]);
			$newCategoryTag.children(".text_box").children(".item_tags").append($spanTag);
		}
		$newCategoryTag.children(".text_box").children(".subinfo").children("span:nth-of-type(1)").html(course_data[num].course_time);
		$newCategoryTag.children(".text_box").children(".subinfo").children("span:nth-of-type(2)").html("￥"+course_data[num].course_price);
		$newCategoryTag.children(".text_box").children(".item_teacher").children("a").children("img").attr({"src":course_data[num].course_teacher_pic});
		$newCategoryTag.children(".text_box").children(".item_teacher").children("a").children("span").html(course_data[num].course_teacher_name);
		$newCategoryTag.children(".text_box").children(".item_student").children("span").html(course_data[num].student_count);
		return $newCategoryTag;
	}
	
	
</script>
